package com.edu.zhku.wms.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class WageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WageExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBasicWageIsNull() {
            addCriterion("basic_wage is null");
            return (Criteria) this;
        }

        public Criteria andBasicWageIsNotNull() {
            addCriterion("basic_wage is not null");
            return (Criteria) this;
        }

        public Criteria andBasicWageEqualTo(BigDecimal value) {
            addCriterion("basic_wage =", value, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageNotEqualTo(BigDecimal value) {
            addCriterion("basic_wage <>", value, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageGreaterThan(BigDecimal value) {
            addCriterion("basic_wage >", value, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("basic_wage >=", value, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageLessThan(BigDecimal value) {
            addCriterion("basic_wage <", value, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("basic_wage <=", value, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageIn(List<BigDecimal> values) {
            addCriterion("basic_wage in", values, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageNotIn(List<BigDecimal> values) {
            addCriterion("basic_wage not in", values, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("basic_wage between", value1, value2, "basicWage");
            return (Criteria) this;
        }

        public Criteria andBasicWageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("basic_wage not between", value1, value2, "basicWage");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceIsNull() {
            addCriterion("welfare_allowance is null");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceIsNotNull() {
            addCriterion("welfare_allowance is not null");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceEqualTo(BigDecimal value) {
            addCriterion("welfare_allowance =", value, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceNotEqualTo(BigDecimal value) {
            addCriterion("welfare_allowance <>", value, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceGreaterThan(BigDecimal value) {
            addCriterion("welfare_allowance >", value, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("welfare_allowance >=", value, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceLessThan(BigDecimal value) {
            addCriterion("welfare_allowance <", value, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("welfare_allowance <=", value, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceIn(List<BigDecimal> values) {
            addCriterion("welfare_allowance in", values, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceNotIn(List<BigDecimal> values) {
            addCriterion("welfare_allowance not in", values, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("welfare_allowance between", value1, value2, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andWelfareAllowanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("welfare_allowance not between", value1, value2, "welfareAllowance");
            return (Criteria) this;
        }

        public Criteria andBonusWageIsNull() {
            addCriterion("bonus_wage is null");
            return (Criteria) this;
        }

        public Criteria andBonusWageIsNotNull() {
            addCriterion("bonus_wage is not null");
            return (Criteria) this;
        }

        public Criteria andBonusWageEqualTo(BigDecimal value) {
            addCriterion("bonus_wage =", value, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageNotEqualTo(BigDecimal value) {
            addCriterion("bonus_wage <>", value, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageGreaterThan(BigDecimal value) {
            addCriterion("bonus_wage >", value, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bonus_wage >=", value, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageLessThan(BigDecimal value) {
            addCriterion("bonus_wage <", value, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bonus_wage <=", value, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageIn(List<BigDecimal> values) {
            addCriterion("bonus_wage in", values, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageNotIn(List<BigDecimal> values) {
            addCriterion("bonus_wage not in", values, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bonus_wage between", value1, value2, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andBonusWageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bonus_wage not between", value1, value2, "bonusWage");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceIsNull() {
            addCriterion("unemployment_insurance is null");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceIsNotNull() {
            addCriterion("unemployment_insurance is not null");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceEqualTo(BigDecimal value) {
            addCriterion("unemployment_insurance =", value, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceNotEqualTo(BigDecimal value) {
            addCriterion("unemployment_insurance <>", value, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceGreaterThan(BigDecimal value) {
            addCriterion("unemployment_insurance >", value, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("unemployment_insurance >=", value, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceLessThan(BigDecimal value) {
            addCriterion("unemployment_insurance <", value, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("unemployment_insurance <=", value, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceIn(List<BigDecimal> values) {
            addCriterion("unemployment_insurance in", values, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceNotIn(List<BigDecimal> values) {
            addCriterion("unemployment_insurance not in", values, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unemployment_insurance between", value1, value2, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andUnemploymentInsuranceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unemployment_insurance not between", value1, value2, "unemploymentInsurance");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundIsNull() {
            addCriterion("housing_provident_fund is null");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundIsNotNull() {
            addCriterion("housing_provident_fund is not null");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundEqualTo(BigDecimal value) {
            addCriterion("housing_provident_fund =", value, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundNotEqualTo(BigDecimal value) {
            addCriterion("housing_provident_fund <>", value, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundGreaterThan(BigDecimal value) {
            addCriterion("housing_provident_fund >", value, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("housing_provident_fund >=", value, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundLessThan(BigDecimal value) {
            addCriterion("housing_provident_fund <", value, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundLessThanOrEqualTo(BigDecimal value) {
            addCriterion("housing_provident_fund <=", value, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundIn(List<BigDecimal> values) {
            addCriterion("housing_provident_fund in", values, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundNotIn(List<BigDecimal> values) {
            addCriterion("housing_provident_fund not in", values, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("housing_provident_fund between", value1, value2, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andHousingProvidentFundNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("housing_provident_fund not between", value1, value2, "housingProvidentFund");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxIsNull() {
            addCriterion("personal_income_tax is null");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxIsNotNull() {
            addCriterion("personal_income_tax is not null");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxEqualTo(BigDecimal value) {
            addCriterion("personal_income_tax =", value, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxNotEqualTo(BigDecimal value) {
            addCriterion("personal_income_tax <>", value, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxGreaterThan(BigDecimal value) {
            addCriterion("personal_income_tax >", value, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("personal_income_tax >=", value, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxLessThan(BigDecimal value) {
            addCriterion("personal_income_tax <", value, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("personal_income_tax <=", value, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxIn(List<BigDecimal> values) {
            addCriterion("personal_income_tax in", values, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxNotIn(List<BigDecimal> values) {
            addCriterion("personal_income_tax not in", values, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("personal_income_tax between", value1, value2, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andPersonalIncomeTaxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("personal_income_tax not between", value1, value2, "personalIncomeTax");
            return (Criteria) this;
        }

        public Criteria andOtherIsNull() {
            addCriterion("other is null");
            return (Criteria) this;
        }

        public Criteria andOtherIsNotNull() {
            addCriterion("other is not null");
            return (Criteria) this;
        }

        public Criteria andOtherEqualTo(BigDecimal value) {
            addCriterion("other =", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotEqualTo(BigDecimal value) {
            addCriterion("other <>", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThan(BigDecimal value) {
            addCriterion("other >", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("other >=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThan(BigDecimal value) {
            addCriterion("other <", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThanOrEqualTo(BigDecimal value) {
            addCriterion("other <=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherIn(List<BigDecimal> values) {
            addCriterion("other in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotIn(List<BigDecimal> values) {
            addCriterion("other not in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other not between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("year is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("year is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(Integer value) {
            addCriterion("year =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(Integer value) {
            addCriterion("year <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(Integer value) {
            addCriterion("year >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(Integer value) {
            addCriterion("year >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(Integer value) {
            addCriterion("year <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(Integer value) {
            addCriterion("year <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<Integer> values) {
            addCriterion("year in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<Integer> values) {
            addCriterion("year not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(Integer value1, Integer value2) {
            addCriterion("year between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(Integer value1, Integer value2) {
            addCriterion("year not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andMonthIsNull() {
            addCriterion("month is null");
            return (Criteria) this;
        }

        public Criteria andMonthIsNotNull() {
            addCriterion("month is not null");
            return (Criteria) this;
        }

        public Criteria andMonthEqualTo(Integer value) {
            addCriterion("month =", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotEqualTo(Integer value) {
            addCriterion("month <>", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThan(Integer value) {
            addCriterion("month >", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThanOrEqualTo(Integer value) {
            addCriterion("month >=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThan(Integer value) {
            addCriterion("month <", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThanOrEqualTo(Integer value) {
            addCriterion("month <=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthIn(List<Integer> values) {
            addCriterion("month in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotIn(List<Integer> values) {
            addCriterion("month not in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthBetween(Integer value1, Integer value2) {
            addCriterion("month between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotBetween(Integer value1, Integer value2) {
            addCriterion("month not between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNull() {
            addCriterion("employee_id is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNotNull() {
            addCriterion("employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdEqualTo(Integer value) {
            addCriterion("employee_id =", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotEqualTo(Integer value) {
            addCriterion("employee_id <>", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThan(Integer value) {
            addCriterion("employee_id >", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("employee_id >=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThan(Integer value) {
            addCriterion("employee_id <", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThanOrEqualTo(Integer value) {
            addCriterion("employee_id <=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIn(List<Integer> values) {
            addCriterion("employee_id in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotIn(List<Integer> values) {
            addCriterion("employee_id not in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdBetween(Integer value1, Integer value2) {
            addCriterion("employee_id between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("employee_id not between", value1, value2, "employeeId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}